﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Project_KhuyenMaiVang.Models
{
    public class MemberDTO
    {
        private int _IDAccount;
        private string _TenKhachHang;
        private string _DiaChi;
        private string _Email;
        private string _TaiKhoanPayPal;
        public string TaiKhoanPayPal
        {
            get { return _TaiKhoanPayPal; }
            set { _TaiKhoanPayPal = value; }
        }
        public string Email
        {
            get { return _Email; }
            set { _Email = value; }
        }

        public string DiaChi
        {
            get { return _DiaChi; }
            set { _DiaChi = value; }
        }

        public string TenKhachHang
        {
            get { return _TenKhachHang; }
            set { _TenKhachHang = value; }
        }
        
        public int IDAccount
        {
            get { return _IDAccount; }
            set { _IDAccount = value; }
        }

        public MemberDTO(int idAccount, string tenKhachHang, string diaChi, string email, string taiKhoanPayPal)
        {
            TenKhachHang = tenKhachHang;
            DiaChi = diaChi;
            Email = email;
            TaiKhoanPayPal = taiKhoanPayPal;
            IDAccount = idAccount;
        }

        public MemberDTO()
        {
            // TODO: Complete member initialization
        }
    }
}